package com.xinyi.share.weixin.message.receive;

/**
 * 
 * @description 地域消息
 * @author wangchuan
 * @date 2014年7月5日上午1:21:38
 * @version 1.0
 */
public class LocationReceiveMessage extends ReceiveMessage {
	/**
	 * 地理位置维度 
	 */
	private String locationx;
	/**
	 * 地理位置经度 
	 */
	private String locationy;
	/**
	 * 地图缩放大小 
	 */
	private int scale;
	/**
	 * 地理位置信息 
	 */
	private String label;
	
	public LocationReceiveMessage(){}
	
	public LocationReceiveMessage(String msgId, String fromUserName, String toUserName, String locationx, String locationy, int scale, String label, long createTime){
		super(msgId, location, fromUserName, toUserName, createTime);
		this.locationx = locationx;
		this.locationy = locationy;
		this.scale = scale;
		this.label = label;
	}
	
	public String getLocationx() {
		return locationx;
	}
	public void setLocationx(String locationx) {
		this.locationx = locationx;
	}
	public String getLocationy() {
		return locationy;
	}
	public void setLocationy(String locationy) {
		this.locationy = locationy;
	}
	public int getScale() {
		return scale;
	}
	public void setScale(int scale) {
		this.scale = scale;
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}

	@Override
	public String toString() {
		return "LocationReceiveMessage [locationx=" + locationx + ", locationy=" + locationy + ", scale=" + scale + ", label=" + label + ", getMsgId()=" + getMsgId() + ", getCreateTime()="
				+ getCreateTime() + ", getMsgType()=" + getMsgType() + ", getFromUserName()=" + getFromUserName() + ", getToUserName()=" + getToUserName() + "]";
	}
	
	
}
